{% extends "base.html" %}
{% block title %}Access Denied{% endblock %}
{% block head %}Access Denied{% endblock %}
{% block content %}

{% if user.username %}
	<div id="nav">
		<p>Welcome <b>{{ user.username }}</b> | <a href="../logout/">Log Out</a> | <a href="../account/">Account Settings</a></p>
	</div>
{% else %}
	<div id="nav">
		<p><a href="../login/">Login</a> | <a href="../register/" >Register</a></p>
	</div>
{% endif %}

<p class="warning">You are not authorized to view this page. Please check that you are currently logged in.</p>

<p><a href="../">Return to home page.</a></p>

{% endblock %}

